﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace KBVault.Web
{
    public partial class Admin : System.Web.UI.MasterPage
    {                

        public void ShowError( string message )
        {
            lbErrorMessage.Text = message;
            divErrorMessage.Visible = true;
        }
        
        public void ShowMessage(string message)
        {
            lbInfoMessage.Text = message;
            divInformationMessage.Visible = true;
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            divErrorMessage.Visible = false;
            divInformationMessage.Visible = false;
        }
    }
}